package com.cyl.XmlDemo.entity;


/**
 * 信息中转实体
 * @author tyuio
 *
 */
public class DMsg<T> {
	
	//信息发送者
	private String sender;
	//目标用户
	private String target;
	//目标频道
	private String dest;
	//执行命令
	private String command;
	//数据
	private T data;
	
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public String getCommand() {
		return command;
	}
	public void setCommand(String command) {
		this.command = command;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public String getDest() {
		return dest;
	}
	public void setDest(String dest) {
		this.dest = dest;
	}
	
}
